package day240424.work;
//代表一副扑克牌（没有大小王）
public class Deck {
    String[] number={"A","1","2","3","4","5","6","7","8","9","10","J","Q","K"};
    String[] type={"红心","黑桃","梅花","方块"};




    public void show(){
        System.out.println("打印牌堆中所有的牌...");
        for (int i = 0; i < number.length; i++) {
            for (int j = 0; j <type.length ; j++) {
                System.out.println(" "+number[i]+" "+type[j]);

            }

        }

    }
}
